package com.kly.user.db.dao;
import com.fqgj.common.base.BaseMapper;
import com.kly.user.db.entity.TMessageEntity;

import java.util.List;

/**
* User: linqu
* Date: 2023-06-26
* Time: 16:49:16.284
*/

public interface TMessageDao  extends BaseMapper<TMessageEntity> {

    List<TMessageEntity> queryUnReadMessages(String userCode);

    List<TMessageEntity> queryAllMessages(String userCode);

    Integer queryTotalUnReadMessages(String userCode);


}